---
hide_table_of_contents: true
---

import CodeBlock from "@theme/CodeBlock";

# Wikipedia tool

The `WikipediaQueryRun` tool connects your agents and chains to Wikipedia.

## Usage

import ToolExample from "@examples/tools/wikipedia.ts";

<CodeBlock language="typescript">{ToolExample}</CodeBlock>
